vs2003: identify first row in DataRow[]

Posted by dotnet-practitioner on Stack Overflow See other posts from Stack Overflow or by dotnet-practitioner
Published on 2010-03-16T17:19:44Z Indexed on 2010/03/16 17:21 UTC
Read the original article Hit count: 229

Filed under:
|
|

what is the best way to identify first row in the following code?

foreach(DataRow row in myrows)
{

if (first row )
{
...do this...
}
else
{
....process other than first rows..
}
}

© Stack Overflow or respective owner

Related posts about vs2003

Related posts about c#